/*
 * Miya.com Inc.
 * Copyright (c) 2004-2018 All Rights Reserved.
 */
package com.miya.erpmofa.common.lang.request.batch;

import com.miya.erpmofa.common.lang.request.single.BaseRequest;
import com.miya.erpmofa.common.lang.request.single.OrderItem;
import com.miya.erpmofa.common.lang.request.single.OrderWriteBackRequest;
import com.miya.erpmofa.common.lang.request.single.PayItem;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 订单批量回写请求参数对象
 *
 * @author ${guanzhong}
 * @version $Id: OrderBatchWriteBackRequest.java, v 0.1 2017年12月27日 下午2:52 Exp $
 */
@Data
@SuppressWarnings("unused")
public class OrderBatchWriteBackRequest extends BaseRequest {

    private static final long serialVersionUID = -8749347042666602903L;
    /**
     *订单集合
     */
     private List<OrderWriteBackRequest> itemList;

    @Override
    public void appendMap(final Map<String, String> baseMap) {
        if(itemList!=null){
            baseMap.put("itemList", itemList.toString());
        }
    }
}
